<?php

class App_Version
{

  const MAJOR = 0;
  const MINOR = 1;
  const REVISION = 0;
  const EXTRA = '-dev1';

  public static function getName()
  {
    return 'Cerebro';
  }

  public static function getNameAndVersion()
  {
    return self::getName() . ' v' . self::getVersion();
  }

  public static function getVersion()
  {
    return sprintf('%d.%d.%d%s', self::MAJOR, self::MINOR, self::REVISION, self::EXTRA);
  }

}